// 用户更改密码时未完全输入输入框内容时的报错

// 关闭VSCode非必要报错
// ignore_for_file: camel_case_types

import 'package:flutter/material.dart';
import 'package:project_award_statistics/utils/mobile_material_design/my_button.dart';

class DialogChangePasswdErr_Empty_Mobile extends StatelessWidget {
  const DialogChangePasswdErr_Empty_Mobile({super.key});

  @override
  Widget build(BuildContext context) {
    return AlertDialog(
      backgroundColor: Theme.of(context).colorScheme.surface,
      content: SizedBox(
        height: 225,
        width: 186,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Text(
              "重置密码错误",
              style: TextStyle(
                fontSize: 20,
                fontWeight: FontWeight.bold,
              ),
            ),
            const SizedBox(height: 35,),
            Text(
              "您未输入用户名或密码,请重新检查您的输入!",
              style: TextStyle(
                fontSize: 20,
              ),
            ),
            const SizedBox(height: 45,),
            SizedBox(
              height: 45,
              width: 200,
              child: MyButton(
                text: "好的,我马上去检查", 
                onPressed: ()=>Navigator.of(context).pop(),
              ),
            ),
          ],
        ),
      ),
    );
  }
}